/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.openmath.jome.model;

/**
 *
 * @author Mr.Sam
 */
import java.util.*;
import fr.ove.openmath.jome.model.*;
import fr.ove.openmath.jome.model.events.*;
import fr.ove.openmath.jome.model.evaluation.*;

/**
* The operator "^".<BR>
*
* <CODE>Superscript</CODE> represents a node in the formula tree.
* Its children are the operands of the operation.
*
* @author © 2000 DIRAT Laurent
* @version 2.1 10/01/2000
*/
public class Superscript extends NaryOperator {
    /**
    * The Constructor.
    */
    public Superscript() {
        setResourceIdentifier("POWER");
        setValue("^");
        setAsOperatorPriority(resourcesManager.getAsOperatorPriority("powerPriorities"));
        setAsOperandPriority(resourcesManager.getAsOperandPriority("powerPriorities"));
        setAreOperandsMovable(false);
    }
    
}
